local dandao = fk.CreateSkill{
    name = "gai__dandao",
    tags = { Skill.Compulsory },
  }
  
  Fk:loadTranslationTable{
    ["gai__dandao"] = "耽道",
    [":gai__dandao"] = "锁定技，当你判定后，当前回合角色本回合手牌数上限+3。",
  
    ["$gai__dandao1"] = "吾志在学，不在仕。",
    ["$gai__dandao2"] = "愿为学海之舟，耻为樊笼之雀。",
  }
  
  dandao:addEffect(fk.FinishJudge, {
    anim_type = "special",
    can_trigger = function(self, event, target, player, data)
      return target == player and player:hasSkill(dandao.name) and
        not player.room.current.dead and player.room.current.phase ~= Player.NotActive
    end,
    on_cost = function (self, event, target, player, data)
      event:setCostData(self, {tos = {player.room.current}})
      return true
    end,
    on_use = function(self, event, target, player, data)
      local room = player.room
      room:addPlayerMark(room.current, MarkEnum.AddMaxCardsInTurn, 3)
    end,
  })
  
  return dandao